Digital Wallet Details
class DigitalWalletDetails(val walletBrand: DigitalWalletDetails.WalletBrand, val buyerId: String?, val lightningDetails: DigitalWalletDetails.LightningDetails? = null)
Details about a digital wallet (QR code) payment.
Constructors
Link copied to clipboard
constructor(walletBrand: DigitalWalletDetails.WalletBrand, buyerId: String?, lightningDetails: DigitalWalletDetails.LightningDetails? = null)
Types
Link copied to clipboard
class Builder(walletBrand: DigitalWalletDetails.WalletBrand, buyerId: String? = null, lightningDetails: DigitalWalletDetails.LightningDetails? = null)
Lets developers create and configure digital wallet details for automated testing.
Link copied to clipboard
data class LightningDetails(val paymentUrl: String?, val expiresAt: String?, val amountMilliSats: Long?)
Details specific to Bitcoin Lightning payments. Note: paymentUrl is excluded from toString() for security reasons.
Link copied to clipboard
The brand used for a digital wallet payment. This enum maps 1:1 to the Payments API DigitalWalletDetails brand.